package com.lxmes.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 工资归档对象 nc_wage_archive
 * 
 * @author 张志煜
 * @date 2022-11-25
 */
public class NcWageArchive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String jobNo;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 分部 */
    @Excel(name = "分部")
    private String branch;

    /** 组别 */
    @Excel(name = "组别")
    private String pGroup;

    /** 岗位 */
    @Excel(name = "岗位")
    private String jobs;

    /** 工资年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工资年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wages;

    /** 发放情况 */
    @Excel(name = "发放情况")
    private String ffState;

    /** 未发放原因 */
    @Excel(name = "未发放原因")
    private String reason;

    /** 归档日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date archiveDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJobNo(String jobNo) 
    {
        this.jobNo = jobNo;
    }

    public String getJobNo() 
    {
        return jobNo;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setBranch(String branch) 
    {
        this.branch = branch;
    }

    public String getBranch() 
    {
        return branch;
    }
    public void setpGroup(String pGroup) 
    {
        this.pGroup = pGroup;
    }

    public String getpGroup() 
    {
        return pGroup;
    }
    public void setJobs(String jobs) 
    {
        this.jobs = jobs;
    }

    public String getJobs() 
    {
        return jobs;
    }
    public void setWages(Date wages) 
    {
        this.wages = wages;
    }

    public Date getWages() 
    {
        return wages;
    }
    public void setFfState(String ffState) 
    {
        this.ffState = ffState;
    }

    public String getFfState() 
    {
        return ffState;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setArchiveDate(Date archiveDate) 
    {
        this.archiveDate = archiveDate;
    }

    public Date getArchiveDate() 
    {
        return archiveDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("name", getName())
            .append("jobNo", getJobNo())
            .append("department", getDepartment())
            .append("branch", getBranch())
            .append("pGroup", getpGroup())
            .append("jobs", getJobs())
            .append("wages", getWages())
            .append("ffState", getFfState())
            .append("reason", getReason())
            .append("archiveDate", getArchiveDate())
            .append("remark", getRemark())
            .toString();
    }
}
